package io.gitee.zhangbinhub.acp.cloud.oauth.component

import cn.dev33.satoken.stp.StpInterface
import org.noear.solon.annotation.Component

@Component
class AuthPermission : StpInterface {
    override fun getPermissionList(loginId: Any, loginType: String?): MutableList<String> =
        mutableListOf("system", "config")

    override fun getRoleList(loginId: Any, loginType: String?): MutableList<String> =
        mutableListOf("ADMIN", "TEST")
}